package com.lhf.spareClass.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 尐痞猫
 * @date2021-06-25 21:46
 */
@Data
public class SpareVo {
    private Integer id;
    private String code;
    private String name;
    private String remark;
    private Integer threshold;
    private Integer enable;
    private String enableName;
    private Integer borrow;
    private String borrowName;
    private Integer market;
    private String marketName;
    private String measurement;
    private String subClassCode;
    private String subClassName;
    private String createName;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date createTime;
    private String updateName;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date updateTime;
    private String legalPersonCode;
    private String legalPersonName;
}
